# 指定 CMake 最低版本
cmake_minimum_required(VERSION 3.10)

project(example)


add_subdirectory(example1)
add_subdirectory(example2)
add_subdirectory(example3)
add_subdirectory(example4)
add_subdirectory(example5)
add_subdirectory(example6)
add_subdirectory(example7)
add_subdirectory(example8)
add_subdirectory(example9)
add_subdirectory(example10)
add_subdirectory(example11)
add_subdirectory(example12)
add_subdirectory(example13)

# 条件添加 example14 
if(BUILD_EXAMPLE14)
    add_subdirectory(example14)
    message(STATUS "Building example14 (enabled by request)")
else()
    message(STATUS "Skipping example14 (default)")
endif()
